package com.itheima.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.item.pojo.GoodInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodService extends IService<GoodInfo> {
    GoodInfo findGoodsById(Long id);

    List<GoodInfo> findByPage(Integer pageNum,Integer pageSize);

    Boolean deleteAndSendMsg(Long id);


    Boolean addOrUpdate(GoodInfo goodInfo);
}
